using System;
using UnityEngine;
using QFramework;

namespace QFramework.Monk
{
	public partial class EnemyFast : EnemyNormal
	{
		protected override void Awake()
		{
			base.Awake();
			mHitBox.OnTriggerEnter2DEvent(collider2D =>
			{
				this.gameObject.DestroySelfAfterDelayGracefully(0.3f);
				
			}).UnRegisterWhenGameObjectDestroyed(this.gameObject);
		}
		
	}
}
